gh-107779: Check for the separator between date and time in datetime.datetime.fromisoformat#107791
gh-107779: Check for the separator between date and time in datetime.datetime.fromisoformat#107791joaoe wants to merge 1 commit into
datetime.datetime.fromisoformat#107791Conversation
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
|
Thanks for trying to solve the problem! |
datetime.datetime.fromisoformat
|
@Eclips4 Hi. Yes, that's the plan, but there needs to be a bit more discussion in the main issue page. I push this to get a first run through the CI pipeline, so I see what needs to be done. |
| '2009-04-19T12:30:45.123456-05:00a', # Extra text | ||
| '2009-04-19T12:30:45.123-05:00a', # Extra text | ||
| '2009-04-19T12:30:45-05:00a', # Extra text | ||
| '2009-04-1912:30:45', # Missing date-time separator 1 |
There was a problem hiding this comment.
This is a valid ISO 8601 format...
By mutual agreement of the partners in information interchange, the character [T] may be omitted in
applications where there is no risk of confusing a date and time of day representation with others defined in this International Standard.
|
This PR is stale because it has been open for 30 days with no activity. |
Fixes regression introduced in Python 3.11.